import React from "react";
import ReactDOM from "react-dom";
import App from "./App";
// Error: `emotion-theming` has been removed and all its exports were moved to `@emotion/react` package. Please import them like this `import { useTheme, ThemeProvider, withTheme } from '@emotion/react'`.
// import { ThemeProvider } from "emotion-theming";
import { ThemeProvider } from "@emotion/react"

const theme = {
  colors: {
    primary: "tomato"
  }
}

ReactDOM.render(<ThemeProvider theme={theme}><App /></ThemeProvider>, document.getElementById("root"));
